package com.tcd.Policy.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 险别信息基础表
 * </p>
 *
 * @author cz
 * @since 2021-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="RiskTypeInfo对象", description="险别信息基础表")
public class RiskTypeInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "险别编号")
      @TableId(value = "riskType_Id", type = IdType.AUTO)
    private Integer risktypeId;

    @ApiModelProperty(value = "险别名称")
    @TableField("riskType_Name")
    private String risktypeName;

    @ApiModelProperty(value = "期限")
    private Integer deadline;

    @ApiModelProperty(value = "险别费用")
    @TableField("risk_Cost")
    private BigDecimal riskCost;

    @ApiModelProperty(value = "全责")
    @TableField("whole_deductible_ratio")
    private BigDecimal wholeDeductibleRatio;

    @ApiModelProperty(value = "主责")
    @TableField("main_deductible_ratio")
    private BigDecimal mainDeductibleRatio;

    @ApiModelProperty(value = "同责")
    @TableField("with_deductible_ratio")
    private BigDecimal withDeductibleRatio;

    @ApiModelProperty(value = "次责")
    @TableField("second_deductible_ratio")
    private BigDecimal secondDeductibleRatio;

    @ApiModelProperty(value = "使用场景")
    @TableField("use_scenarios")
    private Integer useScenarios;


}
